package com.lovo.project.test.serviceTest;

import com.lovo.project.model.ShopDO;
import com.lovo.project.service.ShopService;
import com.lovo.project.service.impl.ShopServiceImpl;
import lombok.Data;
import org.junit.Test;


/**
 * @author pankez
 * @title 门店业务测试类
 * @data 2020/11/4 18:15
 */
@Data
public class ShopServiceTT{

    @Test
    public void tt(){
        ShopService service = new ShopServiceImpl();
//        ShopDO s = new ShopDO();
//        s.setShopName("靠狗肉宠物店");
//        s.setShopAddress("玉林东路88号");
//
//        service.insertShop(s);
//        service.deleteShop(7);
//        System.out.println(service.selectAll(null, null));
//        System.out.println(service.selectById(1));
//        ShopDO d = new ShopDO();
//        d.setShopAddress("谷谷西路");
//        d.setShopName("哈哈哈小店");
//        d.setShopId(7);
//        service.update(d);
//        ShopDO d = new ShopDO();
//        d.setShopStatus("审核中");
//        d.setShopId(7);
//        service.updateAudit(d);

    }
}
